<template>
  <el-menu
      :default-active="$route.path"
      class="el-menu-vertical-demo"
      unique-opened
      router>
    <el-submenu index="1">
      <template slot="title">
        <i class="el-icon-user-solid"></i>
        <span>我的信息</span>
      </template>
      <el-menu-item-group>
        <el-menu-item index="/member" route>基本信息</el-menu-item>
        <el-menu-item index="/member/passengers">乘客信息</el-menu-item>
        <el-menu-item index="/member/address">地址信息</el-menu-item>
      </el-menu-item-group>
    </el-submenu>
    <el-submenu index="2">
      <template slot="title">
        <i class="el-icon-s-order"></i>
        <span>我的订单</span>
      </template>
      <el-menu-item-group>
        <el-menu-item index="/order">全部订单</el-menu-item>
        <el-menu-item index="/order/orderProcessing">处理中</el-menu-item>
      </el-menu-item-group>
    </el-submenu>
  </el-menu>
</template>

<script>
export default {
  name: "MemberMenu",
  data() {
    return {}
  },
  methods: {
  }
}
</script>

<style scoped>

</style>
